// 创建一个二维数组
var arr = new Array();

function arr1() {
    for (let i = 0; i < 10; i++) {
        arr[i] = new Array();
        for (let j = 0; j < 3; j++) {
            arr[i][j] = j;
        }
    }
    return arr;
}
// arr1();

arr1();
arr[0][0] = 100;
console.log(arr);
// console.log(arr1());